package com.future.hedongjun.home.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;

import com.future.hedongjun.R;
import com.jaeger.library.StatusBarUtil;
import com.zhy.autolayout.AutoLayoutActivity;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class ClassExerciseActivity extends AutoLayoutActivity {


    @BindView(R.id.iv_BarBg)
    ImageView ivBarBg;
    @BindView(R.id.tv_back)
    TextView tvBack;
    @BindView(R.id.tv_star)
    TextView tvStar;
    @BindView(R.id.tv_level)
    TextView tvLevel;
    @BindView(R.id.rb_map)
    RatingBar rbMap;
    @BindView(R.id.tv_mapIcon)
    TextView tvMapIcon;
    @BindView(R.id.tv_mapName)
    TextView tvMapName;
    @BindView(R.id.tv_suo)
    TextView tvSuo;
    @BindView(R.id.tv_status)
    TextView tvStatus;
    @BindView(R.id.rl_one)
    AutoRelativeLayout rlOne;
    @BindView(R.id.rb_mapTwo)
    RatingBar rbMapTwo;
    @BindView(R.id.tv_mapIconTwo)
    TextView tvMapIconTwo;
    @BindView(R.id.tv_mapNameTwo)
    TextView tvMapNameTwo;
    @BindView(R.id.tv_suoTwo)
    TextView tvSuoTwo;
    @BindView(R.id.tv_statusTwo)
    TextView tvStatusTwo;
    @BindView(R.id.rl_two)
    AutoRelativeLayout rlTwo;
    @BindView(R.id.rb_mapThree)
    RatingBar rbMapThree;
    @BindView(R.id.tv_mapIconThree)
    TextView tvMapIconThree;
    @BindView(R.id.tv_mapNameThree)
    TextView tvMapNameThree;
    @BindView(R.id.tv_suoThree)
    TextView tvSuoThree;
    @BindView(R.id.tv_statusThree)
    TextView tvStatusThree;
    @BindView(R.id.rl_three)
    AutoRelativeLayout rlThree;
    @BindView(R.id.rb_mapFour)
    RatingBar rbMapFour;
    @BindView(R.id.tv_mapIconFour)
    TextView tvMapIconFour;
    @BindView(R.id.tv_mapNameFour)
    TextView tvMapNameFour;
    @BindView(R.id.tv_suoFour)
    TextView tvSuoFour;
    @BindView(R.id.tv_statusFour)
    TextView tvStatusFour;
    @BindView(R.id.rl_four)
    AutoRelativeLayout rlFour;
    @BindView(R.id.rb_mapFive)
    RatingBar rbMapFive;
    @BindView(R.id.tv_mapIconFive)
    TextView tvMapIconFive;
    @BindView(R.id.tv_mapNameFive)
    TextView tvMapNameFive;
    @BindView(R.id.tv_suoFive)
    TextView tvSuoFive;
    @BindView(R.id.tv_statusFive)
    TextView tvStatusFive;
    @BindView(R.id.rl_five)
    AutoRelativeLayout rlFive;
    @BindView(R.id.rb_mapSix)
    RatingBar rbMapSix;
    @BindView(R.id.tv_mapIconSix)
    TextView tvMapIconSix;
    @BindView(R.id.tv_mapNameSix)
    TextView tvMapNameSix;
    @BindView(R.id.tv_suoSix)
    TextView tvSuoSix;
    @BindView(R.id.tv_statusSix)
    TextView tvStatusSix;
    @BindView(R.id.rl_six)
    AutoRelativeLayout rlSix;
    @BindView(R.id.rb_mapSeven)
    RatingBar rbMapSeven;
    @BindView(R.id.tv_mapIconSeven)
    TextView tvMapIconSeven;
    @BindView(R.id.tv_mapNameSeven)
    TextView tvMapNameSeven;
    @BindView(R.id.tv_suoSeven)
    TextView tvSuoSeven;
    @BindView(R.id.tv_statusSeven)
    TextView tvStatusSeven;
    @BindView(R.id.rl_seven)
    AutoRelativeLayout rlSeven;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_class_exercise);
        ButterKnife.bind(this);
        StatusBarUtil.setTranslucentForImageViewInFragment(this, 0x30, null);
    }

    @OnClick({R.id.rl_one, R.id.rl_two, R.id.rl_three, R.id.rl_four, R.id.rl_five, R.id.rl_six, R.id.rl_seven})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.rl_one:
                startActivity(new Intent(ClassExerciseActivity.this,ClassExerciseItemActivity.class));
                break;
            case R.id.rl_two:
                break;
            case R.id.rl_three:
                break;
            case R.id.rl_four:
                break;
            case R.id.rl_five:
                break;
            case R.id.rl_six:
                break;
            case R.id.rl_seven:
                break;
        }
    }
}
